/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.app.persistence;

/**
 *
 * @author admin
 */
public class Commentaire {

    private String login ;
    private String  com ;
    private String  nomfilm;

    public Commentaire() {
    }

    public Commentaire(String login) {
        this.login = login;
    }

    public Commentaire(String login, String com) {
        this.login = login;
        this.com = com;
    }

    public Commentaire(String login, String com, String nomfilm) {
        this.login = login;
        this.com = com;
        this.nomfilm = nomfilm;
    }

   

    public String getNomfilm() {
        return nomfilm;
    }

    public void setNomfilm(String nomfilm) {
        this.nomfilm = nomfilm;
    }

    

    public String getCom(String login) {
        String  var = login+" :\n"+com+"\n  ----------------------------------------------------------------------------------------------------------------- \n";
        return var;
    }

    public void setCom(String com) {
        this.com = com;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    

    }





